<?php

namespace App\Exceptions;

/**
 * 队列任务异常类
 * Class HttpException
 */
class JobException extends BaseHttpException
{
    public function __construct(array $codeRes,$info = '')
    {
        list($code,$message) = $codeRes;

        parent::__construct($info?$info:$message, $code);
    }
}
